package com.wenshi.system.service;

import com.wenshi.system.domain.vo.request.ModbusRequest;

public interface GetDeviceStatusService {
    //获取设备的所有点位数据
    void getDeviceStatus(String deviceIp);
    //获取设备的运行状态数据
    boolean getRunPageStatus(String deviceIp);
    //获取设备的开关状态
    boolean getRunStatusSwitch(String deviceIp);
    //获取设备的告警状态
    boolean getRunStatusAlarm(String deviceIp);
    //获取设备的单模电压
    boolean getSingleVoltageList(String deviceIp);

    boolean onDevice(String deviceIp, int adds[][]);

    boolean offDevice(String deviceIp, int adds[][]);

    boolean test(String deviceIp, int[][] address);

    boolean inputHoldingRegister(ModbusRequest modbusRequest);

    boolean getTest(ModbusRequest modbusRequest);
}
